/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package rrs;

public class CategoryPriceSchemeTwo {
	int percentOff;
	double totalAmount;
	
	public CategoryPriceSchemeTwo(int percentOff, double totalAmount) {
		this.percentOff = percentOff;
		this.totalAmount = totalAmount;
	}
	
	public double getPrice(int categoryPriceSchemeID) {
		return totalAmount * percentOff / 100;
	}
}
